<?php
/*
	辅助应用
*/
defined('BY_JYA') or exit('error');
$list = array();
//判断是否基本设置了
$setting = $this->plugin_setting('setting');
$plugin_setting = $setting['plugins'];
if($plugin_setting){
		$list[1]['list'] = $plugin_setting;
}
foreach($list as &$type){
	foreach($type['list'] as &$p){
		$install = check_permission($p['name']);
		if($install){
			$p['is_install'] = 1;
		}else{
			$p['is_install'] = 0;
		}
		
	}
}

return  $list;